/* Here, you should not change anything else than the argument in the call below */

$(document).ready(function(){
    Lighten.lightenElement('#bottom');    
});

var Lighten = {
	/*
	 * Takes an id to an element and brightens its colour a notch...
	 * You should implement the lightenElement(id) function.
	 */
	lightenElement: function(id) {

            var color = $(id).css('backgroundColor');
            var color2 = new RGB(color);
            color2.addRGB(30, 30, 30);
            $(id).hover(
                function(){$(id).css("backgroundColor",color2.getHex());}, 
                function(){$(id).css("backgroundColor",color);}
            );
        }
}